package com.qdaily.ui.net.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Felix
 * Date: 4/2/15
 * Time: 17:29
 * QQ:74104
 * Email:lovejiuwei@gmail.com
 */
public class ArticleInfo implements Parcelable {
    private ArticleFeedPost post;
    private ArticleInfoShare share;
    private ArticleInfoAuthor author;
    private List<ArticleMeta> recommend;
    private List<ArticleMeta> recommend_two;
    private List<ArticleMeta> recommend_three;
    private List<ArticleMeta> recommend_four;
    private List<ArticleMeta> recommend_five;
    private List<ArticleMeta> related;

    public ArticleFeedPost getPost() {
        return post;
    }

    public void setPost(ArticleFeedPost post) {
        this.post = post;
    }

    public ArticleInfoShare getShare() {
        return share;
    }

    public void setShare(ArticleInfoShare share) {
        this.share = share;
    }

    public ArticleInfoAuthor getAuthor() {
        return author;
    }

    public void setAuthor(ArticleInfoAuthor author) {
        this.author = author;
    }

    public List<ArticleMeta> getRecommend() {
        return recommend;
    }

    public void setRecommend(List<ArticleMeta> recommend) {
        this.recommend = recommend;
    }

    public List<ArticleMeta> getRecommend_two() {
        return recommend_two;
    }

    public void setRecommend_two(List<ArticleMeta> recommend_two) {
        this.recommend_two = recommend_two;
    }

    public List<ArticleMeta> getRecommend_three() {
        return recommend_three;
    }

    public void setRecommend_three(List<ArticleMeta> recommend_three) {
        this.recommend_three = recommend_three;
    }

    public List<ArticleMeta> getRecommend_four() {
        return recommend_four;
    }

    public void setRecommend_four(List<ArticleMeta> recommend_four) {
        this.recommend_four = recommend_four;
    }

    public List<ArticleMeta> getRecommend_five() {
        return recommend_five;
    }

    public void setRecommend_five(List<ArticleMeta> recommend_five) {
        this.recommend_five = recommend_five;
    }

    public List<ArticleMeta> getRelated() {
        return related;
    }

    public void setRelated(List<ArticleMeta> related) {
        this.related = related;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeParcelable(this.post, 0);
        dest.writeParcelable(this.share, 0);
        dest.writeParcelable(this.author, 0);
        dest.writeTypedList(recommend);
        dest.writeTypedList(recommend_two);
        dest.writeTypedList(recommend_three);
        dest.writeTypedList(recommend_four);
        dest.writeTypedList(recommend_five);
        dest.writeTypedList(related);
    }
}
